import java.math.BigDecimal;

public class Test {
    public static void main(String[] args) {
        BigDecimal a = new BigDecimal("3.14");
        BigDecimal b = new BigDecimal("3.78");
        BigDecimal addfen = a.add(b);
        BigDecimal subfen = a.subtract(b);
        BigDecimal mulfen = a.multiply(b);
        System.out.println("a+b="+addfen);
        System.out.println("a-b="+subfen);
        System.out.println("a*b="+mulfen);

    }
}
